package jedis;

import redis.clients.jedis.Jedis;

public class JedisDemo {
    public static void main(String[] args) {
        Jedis jedis = new Jedis("106.55.170.35", 6379);
        System.out.println(jedis.ping());
        jedis.set("k1", "v1");
        System.out.println(jedis.get("k1"));
        jedis.shutdown();
    }
}
